<%@page import="kr.cadis.clms.dao.LimitCashDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.sql.Date, kr.cadis.clms.dao.*, kr.cadis.clms.model.*" %>    
<%
	DailySpendDao dailySpendDao = new DailySpendDao();
	Date spendDate = Date.valueOf(request.getParameter("spendDate"));
	DailySpend dailySpend = dailySpendDao.selectByDate(spendDate);
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form method = "post" action = "UpdateDo.jsp">
<table border="1">
	<tr><th>일자</th><td><input name="beforeDate" value="<%= dailySpend.getSpendDate() %>" ></td></tr>
	<tr><th>수정일자</th><td><input name="spendDate" value="<%= dailySpend.getSpendDate() %>" ></td></tr>
	<tr><th>오늘 사용</th><td><input name = "money" value = "<%= dailySpend.getMoney() %>"></td></tr>
</table>
<br />
<input type = "submit">
</form>
</body>
</html>